﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.ItemInfoSchema

    Public Class info

        Private dblAvgMaxLevel As Double
        Private dblAvgMinLevel As Double
        Private intMaxLevel As Integer
        Private intMinLevel As Integer
        Private aArea As New List(Of area)
        Private tType As New List(Of type)

        <XmlAttribute()> Public Property avgMaxLevel() As Double
            Get
                Return dblAvgMaxLevel
            End Get
            Set(ByVal value As Double)
                dblAvgMaxLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property avgMinLevel() As Double
            Get
                Return dblAvgMinLevel
            End Get
            Set(ByVal value As Double)
                dblAvgMinLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property maxLevel() As Integer
            Get
                Return intMaxLevel
            End Get
            Set(ByVal value As Integer)
                intMaxLevel = value
            End Set
        End Property

        <XmlAttribute()> Public Property minLevel() As Integer
            Get
                Return intMinLevel
            End Get
            Set(ByVal value As Integer)
                intMinLevel = value
            End Set
        End Property

        <XmlElement()> Public Property area() As List(Of area)
            Get
                Return aArea
            End Get
            Set(ByVal value As List(Of area))
                aArea = value
            End Set
        End Property

        <XmlElement()> Public Property type() As List(Of type)
            Get
                Return tType
            End Get
            Set(ByVal value As List(Of type))
                tType = value
            End Set
        End Property

    End Class

End Namespace